/*
 * Project: com.mmall.pay.provider.dao
 *
 * File Created at 2019-10-29
 *
 * Copyright 2019 CMCC Corporation Limited.
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of
 * ZYHY Company. ("Confidential Information").  You shall not
 * disclose such Confidential Information and shall use it only in
 * accordance with the terms of the license.
 */
package com.mmall.pay.provider.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mmall.pay.provider.model.PayApplyDO;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

/**
 * @author jianghucoding
 * @date 2019-10-29
 */
@Repository
public interface PayApplyMapper extends BaseMapper<PayApplyDO> {
    @Select("select * from pay_apply where order_id = #{orderId} and status = #{status}")
    PayApplyDO selectByOrderId(long orderId, Integer status);
}
